package castle_components
{
	import flash.display.MovieClip;
	import units.Unit;
	
	public class Castle_Core extends MovieClip
	{
		public var game_handler:GameHandler;
		public var castle:Castle;
		public function Castle_Core()
		{
			super();
		}
		
		public function unit_action(u:Unit){
			game_handler.mana_amount += u.mana_regen;
		}
	}
}